package com.tjetc.domain;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order implements Serializable {
    @Serial
    private static final long serialVersionUID = 1136720681897599298L;
    private String orderId;

    private Integer customerId;

    private Integer vehicleId;

    private LocalDateTime rentalStartDate;

    private LocalDateTime rentalEndDate;

    private Integer orderStatus;

    private BigDecimal totalCost;

    private LocalDateTime orderDate;

    //自己添加
    private Customer customer;
    private Vehicle vehicle;

}